package com.societyGames.codeAlong.state.codeExercise.model
{
	import flash.events.Event;

	public class ExceptionEvent extends Event
	{
		public static const EXCEPTION:String = "EXCEPTION";
		private var _exception:Exception;
		
		public function get exception():Exception
		{
			return this._exception;
		}
		
		public function ExceptionEvent(type:String, exception:Exception, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this._exception = exception;
		}
	}
}